package com.powernode.money.constant;

import com.powernode.money.util.PageUtil;

import java.util.List;

public class Pager  extends PageUtil {
    private Integer pageNum;
    private Integer pageSize;
    private List list;

    public Pager(int pageNumber, int limit, List list) {
        super(pageNumber, limit, list);
    }

    @Override
    public String toString() {
        return "Pager{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", list=" + list +
                '}';
    }

    public Integer getPageNum() {
        return pageNum;
    }


    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }


    public void setList(List list) {
        this.list = list;
    }


}
